package com.vito.dcs.trajectory.service.impl;

import org.springframework.beans.factory.annotation.Autowired;

import com.alibaba.dubbo.config.annotation.Service;
import com.vito.base.model.DataGrid;
import com.vito.dcs.trajectory.dao.TransportVehicleMapper;
import com.vito.dcs.trajectory.model.TransportVehicleModel;
import com.vito.dcs.trajectory.service.TransportVehicleService;

@Service
public class TransportVehicleServiceImpl implements TransportVehicleService {

	@Autowired
	private TransportVehicleMapper transportVehicleMapper;

	@Override
	public TransportVehicleModel findTransportVehicle(String mac) {
		return transportVehicleMapper.findTransportVehicle(mac);
	}

	@Override
	public DataGrid<TransportVehicleModel> queryAllTransportVehicle() {
		return transportVehicleMapper.queryAllTransportVehicle();
	}
	
	

}
